package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * PMS-SRM交互日志
 *
 * @author flyme
 * @date 2020-12-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_srm_api_log")
@TableAlias("bsal")
@ApiModel(value="BusSrmApiLog对象", description="PMS-SRM交互日志")
public class BusSrmApiLog extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "srmApiLogId", type = IdType.AUTO)
    private Long srmApiLogId;

    @ApiModelProperty(value = "模块名称")
    private String model;

    @ApiModelProperty(value = "请求内容")
    private String req;

}
